package com.krisyu.builderPattern.example.builder;

import com.krisyu.builderPattern.example.product.CarModel;

import java.util.List;

/**
 * @author KrisYu
 * @date 2022/12/17
 * @description
 */
public abstract class CarBuilder {

    public abstract CarBuilder withStart();
    public abstract CarBuilder withAlarm();
    public abstract CarBuilder withEngineBoom();
    public abstract CarBuilder withStop();

    public abstract CarBuilder withSequence(List<String> sequence);

    public abstract CarModel build();




}
